<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>

</head>

<script  th:src="@{/js/jquery-1.11.3.min.js}"></script>
<link rel="stylesheet" th:href="@{/layui/css/layui.css}">
<script type="text/javascript" th:src="@{/layui/layui.js}"></script>



<div style="position: absolute;left:0;right:0;top: 0;bottom:0;" >
    <div style="display: flex;justify-content: center;height: 100%;align-items: center">
        <form class="layui-form" th:action="@{/login/sellerLogin}" method="post">
            <div class="layui-form-item">
                <div>
                    <label class="layui-form-label">手机号</label>
                    <div class="layui-input-inline">
                        <input type="text" name="phone" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div>
                    <label class="layui-form-label">密码</label>
                    <div class="layui-input-inline">
                        <input type="password" name="password"  class="layui-input">
                    </div>
                </div>
            </div>
            <div style="display: flex;">

                <div  style="margin-left: 110px">
                        <button type="submit" class="layui-btn">登录</button>
                </div>

                <div style="margin-left: 60px">
                    <button type="button"  class="layui-btn" onclick="location.href='/'">返回</button>
                </div>


            </div>

            <div th:text="${errorMsg}" style="color:red"></div>
        </form>

    </div>
</div>

</body>
</html>